extends Label

func _ready() -> void:
	# 节点创建时,执行一次
	pop();

func pop():
	var tween = get_tree().create_tween()
	# 修改自身缩放
	tween.tween_property(self,"scale",Vector2(2,2),0.1)
	tween.chain().tween_property(self,"scale",Vector2(1,1),0.1)
	# 缩放执行完毕,删除自己
	await tween.finished
	queue_free()

	
